import request from "@/config/utils/request";

// 查询入库冲销单
export function getFinWriteoffById(data) {
  return request({
    url: "/apis/smp/finwriteoff/getFinWriteoffById",
    method: "POST",
    data
  });
}

// 提交入库冲销单
export function submitFinWriteoff(data) {
  return request({
    url: "/apis/smp/finwriteoff/submitFinWriteoff",
    method: "POST",
    data
  });
}

// 新增入库冲销单
export function saveFinWriteoff(data) {
  return request({
    url: "/apis/smp/finwriteoff/saveFinWriteoff",
    method: "POST",
    data
  });
}

// 编辑入库冲销单
export function editFinWriteoff(data) {
  return request({
    url: "/apis/smp/finwriteoff/editFinWriteoff",
    method: "POST",
    data
  });
}

// 编辑入库冲销单
export function revokeFinWriteoff(data) {
  return request({
    url: "/apis/smp/finwriteoff/revokeFinWriteoff",
    method: "POST",
    data
  });
}

// 编辑入库冲销单
export function removeFinWriteoff(data) {
  return request({
    url: "/apis/smp/finwriteoff/removeFinWriteoff",
    method: "POST",
    data
  });
}
